﻿using System;

namespace SAS.Core.Entity
{
    public class WorkspaceDetail
    {
        public WorkspaceDetail()
        {
            ClientIOFile = new ClientIOFileVarsSchema
                {
                    fkClient_ID = "0",
                    ClientShortName = string.Empty,
                    DPMAdminLogin = string.Empty,
                    DPMAdminPassword = string.Empty,
                    FedPayServerDesc = string.Empty,
                    FedPayServerNameOrIP = string.Empty,
                    FedPayUsername = string.Empty,
                    FedPayUserPW = string.Empty,
                    StriataServerDesc = string.Empty,
                    StriataServerNameOrIP = string.Empty,
                    StriataUserPW = string.Empty,
                    StriataUsername = string.Empty,
                    TimeRunner = "0",
                };

            Client = new ClientSchema
                {
                    MerchantID = "-1",
                    pkClient_ID = "0",
                    ACHPayment = "0",
                    WebPayment = String.Empty,
                    WebSite = String.Empty,
                    Address1 = String.Empty,
                    Address2 = String.Empty,
                    City = String.Empty,
                    ClientName = String.Empty,
                    ContactName = String.Empty,
                    Country = String.Empty,
                    CreatedBy = String.Empty,
                    CreatedDate = DateTime.Now.ToShortDateString(),
                    Email = String.Empty,
                    Fax = String.Empty,
                    Phone1 = String.Empty,
                    Phone2 = String.Empty,
                    PostalCode = String.Empty,
                    StateProv = String.Empty,
                    ModifiedBy = String.Empty,
                    ModifiedDate = DateTime.Now.ToShortDateString(),
                    AMEX = "0",
                    ClientID = 0,
                    ClientDefaultInfo = false,
                    CreditPayment = "0",
                    CustomerStatusTimeOut = "0",
                    DebitPayment = "0",
                    Discover = "0",
                    Mastercard = "0",
                    PMAllowIntro = true,
                    VISA = String.Empty,
                    PMOverrideCustomer = true,
                    SubscribeRptUpdate = true,
                    UnsubscribeRptUpdate = true,
                    UseClientPaymentMethod = true,
                };

            Workspace = new WorkSpaceSchema
                {
                    pkWorkSpace_ID = "0",
                    ClientID = "0",
                    AdminLogin = String.Empty,
                    AdminPassword = String.Empty,
                    EnvironmentName = String.Empty,
                    WorkSpaceName = String.Empty,
                    WorkSpaceNote = String.Empty,
                    WorkSpaceStatusName = String.Empty,
                    CreatedBy = String.Empty,
                    CreatedDate = DateTime.Now,
                    WSModifiedBy = String.Empty,
                    WSModifiedDate = DateTime.Now
                };
        }

        /// <summary>
        /// Workspace information
        /// </summary>
        public WorkSpaceSchema Workspace { get; set; }

        /// <summary>
        /// Client IO file information
        /// </summary>
        public ClientIOFileVarsSchema ClientIOFile { get; set; }

        /// <summary>
        /// Client information
        /// </summary>
        public ClientSchema Client { get; set; }

        /// <summary>
        /// Image base64 string
        /// </summary>
        public string ImageLogo { get; set; }
    }
}